name = '王博'

num=0
for c in name:
    num += 1
    print(c, end="")
print()
print("name的长度是%d" % num)